package com.example.user.mapper;


import com.example.user.entity.CommunityActivity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HomeMapper {


    List<CommunityActivity> selectActivtyPage();

    List<CommunityActivity> selectActivityByName(@Param("activityName") String activityName);

    List<CommunityActivity> selectActivtyByType(@Param("activityType") String activityType);

    List<CommunityActivity> selectActivityByLocation(@Param("activityLocation") String activityLocation);
}
